package cn.coisini.model.common.sms.property;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.Map;

/**
 * @author xiangshaw
 * Description: 阿里云短信配置
 */
@Configuration
@ConfigurationProperties(prefix = "sms.aliyun")
@Data
public class AliyunSmsProperties {
    /**
     * 账户Access Key ID
     */
    private String accessKeyId;
    /**
     * 账户Access Key Secret
     */
    private String accessKeySecret;
    /**
     * 云短信服务API域名
     */
    private String domain;
    /**
     * 云服务区域ID
     */
    private String regionId;
    /**
     * 短信签名
     */
    private String signName;
    /**
     * 短信模板
     */
    private Map<String, String> templateCodes;
}
